<?php
if(!defined('IN_WOGU')) {
    exit('Access Denied');
}

class Session
{
    static protected $_config = null;

    static public function init($sessType = 'Session_Mysql') {
        self::$_config = Loader::loadConfig('session');
        Loader::loadClass($sessType);
        $session = new $sessType();
        $session->init(self::$_config[$sessType]);
    }
}